package com.fyzk.activity.forum;

import java.util.List;

/**
 * Created by fanxs11 on 17/5/8.
 */

public class ForumRecommendBean {


    /**
     * question_id : 22
     * question_content : fdbugbug
     * question_detail : bug
     bug
      
     * add_time : 1492239527
     * update_time : 1492239527
     * published_uid : 1
     * answer_count : 0
     * answer_users : []
     * view_count : 4
     * focus_count : 1
     * comment_count : 0
     * action_history_id : 0
     * category_id : 1
     * agree_count : 0
     * against_count : 0
     * best_answer : 0
     * has_attach : 0
     * unverified_modify :
     * unverified_modify_count : 0
     * ip : 2130706433
     * last_answer : 0
     * popular_value : 1.4771212547197
     * popular_value_update : 1494215535
     * lock : 0
     * anonymous : 0
     * thanks_count : 0
     * question_content_fulltext : fdbugbug
     * is_recommend : 1
     * weibo_msg_id :
     * received_email_id :
     * chapter_id :
     * sort : 0
     * answer_info :
     * post_type : question
     * category_info : {"id":1,"title":"默认分类","type":"question","icon":"","parent_id":0,"sort":0,"url_token":1}
     * topics : [{"topic_id":3,"topic_title":"双色球","add_time":1491458585,"discuss_count":67,"topic_description":"  测试用的二级话题","topic_pic":"20170502/fb97bea62a146aa0d9f7f3d36b2fe7c3_32_32.png","topic_lock":0,"focus_count":6,"user_related":0,"url_token":"%E5%8F%8C%E8%89%B2%E7%90%83","merged_id":0,"seo_title":"","parent_id":2,"is_parent":0,"discuss_count_last_week":49,"discuss_count_last_month":49,"discuss_count_update":1495267641}]
     * user_info : {"uid":1,"user_name":"admin","email":"625692797@qq.com","mobile":"","avatar_file":"http://sns.fengyunzhongcheng.com/uploads/avatar/000/00/00/01_avatar_min.jpg","sex":1,"birthday":-28800,"province":"","city":"","job_id":0,"reg_time":1491406457,"reg_ip":2130706433,"last_login":1495176733,"last_ip":3702860524,"online_time":368718,"last_active":1495267959,"notification_unread":7,"inbox_unread":0,"inbox_recv":0,"fans_count":13,"friend_count":0,"invite_count":0,"article_count":2,"question_count":8,"answer_count":5,"topic_focus_count":12,"invitation_available":10,"group_id":1,"reputation_group":5,"forbidden":0,"valid_email":1,"is_first_login":0,"agree_count":0,"thanks_count":0,"views_count":9,"reputation":0,"reputation_update_time":1495267960,"weibo_visit":1,"integral":1890,"draft_count":2,"common_email":"","url_token":"admin","url_token_update":0,"verified":"","default_timezone":"","email_settings":[],"weixin_settings":[],"recent_topics":"a:3:{i:0;s:9:\"双色球\";i:1;s:9:\"数字彩\";i:2;s:18:\"会员测试话题\";}"}
     */

    private int question_id;
    private String question_content;
    private String question_detail;
    private int add_time;
    private int update_time;
    private int answer_count;
    private int focus_count;
    private int comment_count;
    private int agree_count;
    private int against_count;
    private int thanks_count;
    /**
     * uid : 1
     * user_name : admin
     * email : 625692797@qq.com
     * mobile :
     * avatar_file : http://sns.fengyunzhongcheng.com/uploads/avatar/000/00/00/01_avatar_min.jpg
     * sex : 1
     * birthday : -28800
     * province :
     * city :
     * job_id : 0
     * reg_time : 1491406457
     * reg_ip : 2130706433
     * last_login : 1495176733
     * last_ip : 3702860524
     * online_time : 368718
     * last_active : 1495267959
     * notification_unread : 7
     * inbox_unread : 0
     * inbox_recv : 0
     * fans_count : 13
     * friend_count : 0
     * invite_count : 0
     * article_count : 2
     * question_count : 8
     * answer_count : 5
     * topic_focus_count : 12
     * invitation_available : 10
     * group_id : 1
     * reputation_group : 5
     * forbidden : 0
     * valid_email : 1
     * is_first_login : 0
     * agree_count : 0
     * thanks_count : 0
     * views_count : 9
     * reputation : 0
     * reputation_update_time : 1495267960
     * weibo_visit : 1
     * integral : 1890
     * draft_count : 2
     * common_email :
     * url_token : admin
     * url_token_update : 0
     * verified :
     * default_timezone :
     * email_settings : []
     * weixin_settings : []
     * recent_topics : a:3:{i:0;s:9:"双色球";i:1;s:9:"数字彩";i:2;s:18:"会员测试话题";}
     */

    private UserInfoBean user_info;
    /**
     * topic_id : 3
     * topic_title : 双色球
     * add_time : 1491458585
     * discuss_count : 67
     * topic_description :   测试用的二级话题
     * topic_pic : 20170502/fb97bea62a146aa0d9f7f3d36b2fe7c3_32_32.png
     * topic_lock : 0
     * focus_count : 6
     * user_related : 0
     * url_token : %E5%8F%8C%E8%89%B2%E7%90%83
     * merged_id : 0
     * seo_title :
     * parent_id : 2
     * is_parent : 0
     * discuss_count_last_week : 49
     * discuss_count_last_month : 49
     * discuss_count_update : 1495267641
     */

    private List<TopicsBean> topics;

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public String getQuestion_content() {
        return question_content;
    }

    public void setQuestion_content(String question_content) {
        this.question_content = question_content;
    }

    public String getQuestion_detail() {
        return question_detail;
    }

    public void setQuestion_detail(String question_detail) {
        this.question_detail = question_detail;
    }

    public int getAdd_time() {
        return add_time;
    }

    public void setAdd_time(int add_time) {
        this.add_time = add_time;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    public int getAnswer_count() {
        return answer_count;
    }

    public void setAnswer_count(int answer_count) {
        this.answer_count = answer_count;
    }

    public int getFocus_count() {
        return focus_count;
    }

    public void setFocus_count(int focus_count) {
        this.focus_count = focus_count;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public int getAgree_count() {
        return agree_count;
    }

    public void setAgree_count(int agree_count) {
        this.agree_count = agree_count;
    }

    public int getAgainst_count() {
        return against_count;
    }

    public void setAgainst_count(int against_count) {
        this.against_count = against_count;
    }

    public int getThanks_count() {
        return thanks_count;
    }

    public void setThanks_count(int thanks_count) {
        this.thanks_count = thanks_count;
    }

    public UserInfoBean getUser_info() {
        return user_info;
    }

    public void setUser_info(UserInfoBean user_info) {
        this.user_info = user_info;
    }

    public List<TopicsBean> getTopics() {
        return topics;
    }

    public void setTopics(List<TopicsBean> topics) {
        this.topics = topics;
    }

    public static class UserInfoBean {
        private int uid;
        private String user_name;

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }
    }

    public static class TopicsBean {
        private int topic_id;
        private String topic_title;

        public int getTopic_id() {
            return topic_id;
        }

        public void setTopic_id(int topic_id) {
            this.topic_id = topic_id;
        }

        public String getTopic_title() {
            return topic_title;
        }

        public void setTopic_title(String topic_title) {
            this.topic_title = topic_title;
        }
    }
}
